# -*- coding:utf-8 -*-
# author: lkz
# date: 2016/12/26 16:21

import struct

ICMP_DATA_PARSER = struct.Struct("!HHd")
IPV4_HEADER_PARSER = struct.Struct("!LLBBHLL")
ICMP_HEADER_PARSER = struct.Struct("!BBH")

SOCKET_BUF_SIZE = IPV4_HEADER_PARSER.size +\
                  ICMP_HEADER_PARSER.size + \
                  ICMP_DATA_PARSER.size
